/*改变原始宽度（0）*/
function openNav() {
    document.getElementById("mySidenav").style.width = "250px";
}
/*恢复原始宽度0*/
function closeNav() {
    document.getElementById("mySidenav").style.width = "0";
}
// -------------------------------------------------------------------
var dongtai = document.getElementById("Conten-LengHuanQu-DongTai");
var fabu = document.getElementById("Conten-LengHuanQu-FuBu");
var xinxi = document.getElementById("Conten-LengHuanQu-Xinxi");
var haoyou = document.getElementById("Conten-LengHuanQu-HaoYou");

function DongTai() {
    if (dongtai.style.display == "" || dongtai.style.display == "block") {
        dongtai.style.display = "none"
        fabu.style.display = "none"
        xinxi.style.display = "none"
        haoyou.style.display = "none"
    } else if (dongtai.style.display == "none"){
        dongtai.style.display = "block"
        fabu.style.display = "none"
        xinxi.style.display = "none"
        haoyou.style.display = "none"
    }else{
        dongtai.style.display = "none"
    }
}

function FaBu() {
    if (fabu.style.display == "" || fabu.style.display == "none") {
        fabu.style.display = "block"
        dongtai.style.display = "none"
        xinxi.style.display = "none"
        haoyou.style.display = "none"
    } else {
        fabu.style.display = "none"
    }
}
function Xinxi() {
    if (xinxi.style.display == "" || xinxi.style.display == "none") {
        xinxi.style.display = "block"
        fabu.style.display = "none"
        dongtai.style.display = "none"
        haoyou.style.display = "none"
    } else {
        xinxi.style.display = "none"
    }
}
function HaoYou() {
    if (haoyou.style.display == "" || haoyou.style.display == "none") {
        haoyou.style.display = "block"
        fabu.style.display = "none"
        xinxi.style.display = "none"
        dongtai.style.display = "none"
    } else {
        haoyou.style.display = "none"
    }
}


